package com.fowo.api.service.handleWork.jindieEntity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class supplier {


    @JsonProperty("code")
    private Integer code;
    @JsonProperty("message")
    private String message;
    @JsonProperty("error_details")
    private List<?> errorDetails;
    @JsonProperty("request_id")
    private String requestId;
    @JsonProperty("response_time")
    private String responseTime;
    @JsonProperty("data")
    private List<DataDTO> data;
    @JsonProperty("total")
    private Integer total;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("supplier_id")
        private Integer supplierId;
        @JsonProperty("supplier_name")
        private String supplierName;
        @JsonProperty("employees")
        private Integer employees;
        @JsonProperty("url")
        private String url;
        @JsonProperty("contact_person")
        private String contactPerson;
        @JsonProperty("contact_number")
        private String contactNumber;
        @JsonProperty("qq")
        private String qq;
        @JsonProperty("email")
        private String email;
        @JsonProperty("fax")
        private String fax;
        @JsonProperty("account_name")
        private String accountName;
        @JsonProperty("open_bank")
        private String openBank;
        @JsonProperty("bank_card_number")
        private String bankCardNumber;
        @JsonProperty("remark")
        private String remark;
        @JsonProperty("purchaser")
        private String purchaser;
        @JsonProperty("is_delete")
        private Integer isDelete;
        @JsonProperty("address_full")
        private String addressFull;
        @JsonProperty("payment_method_text")
        private String paymentMethodText;
        @JsonProperty("pc_name")
        private String pcName;
        @JsonProperty("settlement_method_text")
        private String settlementMethodText;
        @JsonProperty("employees_text")
        private String employeesText;
        @JsonProperty("level_text")
        private String levelText;
    }
}
